package com.itheima.d1_collection_set.PracticeTest3;

import com.itheima.d1_collection_set.PracticeTest3.Student;

import java.util.HashSet;

public class PracticeTest3 {
    public static void main(String[] args) {
        HashSet<Student> students = new HashSet<>();
        students.add(new Student("张三", 18, 185));
        students.add(new Student("张三", 18, 185));

        students.forEach(System.out::println);
    }
}
